<?php
/**
 * Created by PhpStorm.
 * User: chniccs
 * Date: 2019-12-16
 * Time: 9:28
 */

namespace app\model;


class AppComplain extends Base
{

    public function goodsInfo(){
        return $this->hasOne('AdminActives','id','goods_id')->field('title');
    }
    public function userInfo(){
        return $this->hasOne('AppWxUser','id','uid')->field('nickname,head_img');
    }

}